import { useState, useEffect } from 'react';
import {
    Button,
    Form,
    Input,
    Select,
    Col,
    Row,
    Tooltip,
    Table,
    Pagination,
    Modal,
    Radio,
    message,
  } from 'antd'
const SelectBoolean = (props:any) => {
  // 是否
  const [needCheck, needCheckSet] = useState<any>([{label:'是',value:1},{label:'否',value:0}])  
  return (
    <Select
    style={{ width: 240 }}
    // allowClear
    options={needCheck}
    {...props}
  />      
  )
};

export default SelectBoolean;
